#include <math.h>
main()
{
    unsigned int red=31920,ad=35420,aa;
    double bb;
    unsigned long red_const2=1709934120;
    white_const2=white_const*(pow(white_base,white_agfa));
            r_time=(double)(red_const2/(pow(red,red_agfa+1)))*10000;
    for(i=0;i<FILTER_TIMES;i++){
        if(abs((int)(result-buffer[i]))>100){
            useable=0;
            return;
        }
    }
    useable=1;
    aa=(red_const2*100)/(pow(red,2));
    aa= (int) (log10((double)red_base/(double)ad)*10000);
    bb=(double)red_base/(double)ad;
    bb=log10(bb);
    }
